using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

using PLCS.DbMigrator;

await Host.CreateDefaultBuilder(args)
               .ConfigureServices((hostContext, services) =>
               {
                   services.AddHostedService<DbMigratorHostedService>();
               })
               .RunConsoleAsync();